package com.ice.body.hardware.dao;

import com.ice.body.hardware.model.DeviceVideo;
import com.ice.base.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created with GuoYanBin.
 * Description:业务接口-视频监控 mapper
 * Date: 2021-06-18
 * Time: 10:49
 */
@Mapper
public interface DeviceVideoDao extends BaseDao<DeviceVideo>{

    @Select("select distinct warehouseId from t_device_video ")
    ArrayList<DeviceVideo> getDistinctWarehouse();

    List<HashMap<String,Object>>  selectVideoList(Map<String,Object> map);

    DeviceVideo getByIp(String ip);

}